package com.example.blog.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author ly
 * @since 2023-08-03
 */
public class Category implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "id", type = IdType.AUTO)
      private Integer id;

      /**
     * 栏目名称
     */
      private String name;

      /**
     * 排序号
     */
      private Integer sort;

      /**
     * 栏目说明
     */
      private String introduce;

    
    public Integer getId() {
        return id;
    }

      public void setId(Integer id) {
          this.id = id;
      }
    
    public String getName() {
        return name;
    }

      public void setName(String name) {
          this.name = name;
      }
    
    public Integer getSort() {
        return sort;
    }

      public void setSort(Integer sort) {
          this.sort = sort;
      }
    
    public String getIntroduce() {
        return introduce;
    }

      public void setIntroduce(String introduce) {
          this.introduce = introduce;
      }

    @Override
    public String toString() {
        return "Category{" +
              "id=" + id +
                  ", name=" + name +
                  ", sort=" + sort +
                  ", introduce=" + introduce +
              "}";
    }
}
